42 #if defined(HSS1394_EXPORT_DLL) 43 #define HSS1394_CLASS_CONVENTION __declspec(dllexport) 44 #elif defined(HSS1394_IMPORT_DLL) 45 #define HSS1394_CLASS_CONVENTION __declspec(dllimport) 47 #define HSS1394_CLASS_CONVENTION // static import 52 #define HSS1394_CLASS_CONVENTION // static import 91 virtual void Do(
void) = 0;
124 virtual void Stop(
void) = 0;
127 virtual void Restart(
void) = 0;
130 virtual void Flush(
void) = 0;
134 virtual void GetNodeInfo(
TNodeInfo &tNodeInfo) = 0;
140 virtual uint SendChannelBytes(
const uint8 *pBuffer,
uint uBufferSize,
bool bForce =
true) = 0;
144 virtual uint SendChannelEcho(
const uint8 *pBuffer,
uint uBufferSize) = 0;
148 virtual uint GetRetries(
void) = 0;
154 virtual uint ReceiveChannelBytes(
uint8 *pBuffer,
uint uBufferSize) = 0;
167 virtual bool ChannelListenerExists(
void) = 0;
173 virtual uint SendUserControl(
uint8 uUserTag,
const uint8 *pUserData,
uint uDataBytes) = 0;
193 static Node *Instance(
void);
196 static void Shutdown(
void);
203 virtual void InstallConnectionListener(
Listener *pListener) = 0;
206 virtual uint GetNodeCount(
void) = 0;
216 virtual bool GetNodeInfo(
TNodeInfo &tNodeInfo,
uint uNode,
bool *pbAvailable =
NULL,
bool *pbInstalled =
NULL) = 0;
225 virtual bool ReleaseChannel(
Channel *pChannel) = 0;
virtual void Reconnected(void)
available again.
Definition: HSS1394.h:112
#define NULL
Definition: HSS1394Types.h:31
HSS1394 namespace encapsulates all HSS1394 functionality.
Definition: HSS1394.h:66
64-bit unsigned integer
Definition: HSS1394Types.h:109
unsigned short uint16
16-bit unsigned int
Definition: HSS1394Types.h:74
uint64 uGUID
Node 1394 Global Unique ID.
Definition: HSS1394.h:73
virtual void Disconnected(void)
unavailable.
Definition: HSS1394.h:108
Callback object for an incomming data channel.
Definition: HSS1394.h:98
static Node * mspInstance
Singleton instance of class.
Definition: HSS1394.h:182
std::string sName
Textual name of node.
Definition: HSS1394.h:72
unsigned int uint
Machine native unsigned int.
Definition: HSS1394Types.h:72
uint16 uProtocolVersion
HSS1394 protocol code for this node.
Definition: HSS1394.h:74
Definition: HSS1394.h:120
Singleton High-speed serial over 1394 host node interface.
Definition: HSS1394.h:180
Contains information about a discovered HSS1394 node on the 1394 net.
Definition: HSS1394.h:71
virtual void Process(const uint8 *pBuffer, uint uBufferSize)
Definition: HSS1394.h:104
unsigned char uint8
8-bit unsigned int
Definition: HSS1394Types.h:73
#define HSS1394_CLASS_CONVENTION
Definition: HSS1394.h:52