Buffer Interface
Namespaces | Classes | Typedefs | Enumerations | Functions
BFGTLUtilities Namespace Reference

Class library for Gen<i>Cam camera device access via BFGTL. More...

Namespaces

 PRIVATE_IMP
 

Classes

class  BaseNode
 Base class for BFGTLUtilities::Device node access and modification. More...
 
class  BooleanNode
 BFGTLUtilities::Device node class to access or modify boolean value nodes. More...
 
class  CategoryNode
 BFGTLUtilities::Device node class to read category nodes and their features. More...
 
class  CommandNode
 BFGTLUtilities::Device node class to execute command nodes. More...
 
class  Device
 Interface to access and modify features on a Gen<i>Cam device. More...
 
class  EnumEntryNode
 BFGTLUtilities::Device node class to examine enumeration-entry value nodes. More...
 
class  EnumerationNode
 BFGTLUtilities::Device node class to access or modify enumeration value nodes, and read their features. More...
 
class  FloatNode
 BFGTLUtilities::Device node class to access or modify floating-point value nodes. More...
 
class  IntegerNode
 BFGTLUtilities::Device node class to access or modify integer value nodes. More...
 
class  PortNode
 BFGTLUtilities::Device node class to examine port nodes. More...
 
class  RegisterNode
 BFGTLUtilities::Device node class to access or modify register value nodes. More...
 
class  StringNode
 BFGTLUtilities::Device node class to access or modify string value nodes. More...
 
class  ValueNode
 BFGTLUtilities::Device node class to access or modify nodes with any kind of value. More...
 

Typedefs

typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::ValueNodeBase, NodeType::ValueValueNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::IntegerNodeBase, NodeType::IntegerIntegerNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::BooleanNodeBase, NodeType::BooleanBooleanNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::CommandNodeBase, NodeType::CommandCommandNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::FloatNodeBase, NodeType::FloatFloatNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::StringNodeBase, NodeType::StringStringNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::RegisterNodeBase, NodeType::RegisterRegisterNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::CategoryNodeBase, NodeType::CategoryCategoryNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::EnumerationNodeBase, NodeType::EnumerationEnumerationNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::EnumEntryNodeBase, NodeType::EnumEntryEnumEntryNode
 
typedef PRIVATE_IMP::NodeImpT< PRIVATE_IMP::PortNodeBase, NodeType::PortPortNode
 

Enumerations

enum  NodeType {
  NodeType::Unknown = BFGTL_TYPE_UNKNOWN, NodeType::Value = BFGTL_NODE_TYPE_VALUE, NodeType::Base = BFGTL_NODE_TYPE_BASE, NodeType::Integer = BFGTL_NODE_TYPE_INTEGER,
  NodeType::Boolean = BFGTL_NODE_TYPE_BOOLEAN, NodeType::Command = BFGTL_NODE_TYPE_COMMAND, NodeType::Float = BFGTL_NODE_TYPE_FLOAT, NodeType::String = BFGTL_NODE_TYPE_STRING,
  NodeType::Register = BFGTL_NODE_TYPE_REGISTER, NodeType::Category = BFGTL_NODE_TYPE_CATEGORY, NodeType::Enumeration = BFGTL_NODE_TYPE_ENUMERATION, NodeType::EnumEntry = BFGTL_NODE_TYPE_ENUM_ENTRY,
  NodeType::Port = BFGTL_NODE_TYPE_PORT
}
 
enum  Access {
  Access::Unknown = BFGTL_ACCESS_UNKNOWN, Access::NI = BFGTL_ACCESS_NI, Access::NA = BFGTL_ACCESS_NA, Access::RO = BFGTL_ACCESS_RO,
  Access::WO = BFGTL_ACCESS_WO, Access::RW = BFGTL_ACCESS_RW
}
 

Functions

BFBOOL BFCAPI LibIsGood (void)
 

Detailed Description

Class library for Gen<i>Cam camera device access via BFGTL.

Typedef Documentation

Enumeration Type Documentation

Enumerator
Unknown 
NI 
NA 
RO 
WO 
RW 
226  {
227  Unknown = BFGTL_ACCESS_UNKNOWN,
228 
229  NI = BFGTL_ACCESS_NI, // Not Implemented
230  NA = BFGTL_ACCESS_NA, // Not Accessible
231  RO = BFGTL_ACCESS_RO, // Read Only
232  WO = BFGTL_ACCESS_WO, // Write Only
233  RW = BFGTL_ACCESS_RW, // Read/Write
234  };
Enumerator
Unknown 
Value 
Base 
Integer 
Boolean 
Command 
Float 
String 
Register 
Category 
Enumeration 
EnumEntry 
Port 
207  {
208  Unknown = BFGTL_TYPE_UNKNOWN,
209 
210  Value = BFGTL_NODE_TYPE_VALUE,
211  Base = BFGTL_NODE_TYPE_BASE,
212  Integer = BFGTL_NODE_TYPE_INTEGER,
213  Boolean = BFGTL_NODE_TYPE_BOOLEAN,
214  Command = BFGTL_NODE_TYPE_COMMAND,
215  Float = BFGTL_NODE_TYPE_FLOAT,
216  String = BFGTL_NODE_TYPE_STRING,
217  Register = BFGTL_NODE_TYPE_REGISTER,
218  Category = BFGTL_NODE_TYPE_CATEGORY,
219  Enumeration = BFGTL_NODE_TYPE_ENUMERATION,
220  EnumEntry = BFGTL_NODE_TYPE_ENUM_ENTRY,
221  Port = BFGTL_NODE_TYPE_PORT,
222  };

Function Documentation

BFBOOL BFCAPI BFGTLUtilities::LibIsGood ( void  )

Determine if the base library can be opened. This is necessary for BFGTLUtilities to be usable.

18 {
19  const UINT prevErrorMode = SetErrorMode(SEM_FAILCRITICALERRORS);
20  SetErrorMode(prevErrorMode | SEM_FAILCRITICALERRORS);
21 
22  const bool libIsGood = BFGTLUtilIsGood();
23 
24  SetErrorMode(prevErrorMode);
25 
26  return libIsGood;
27 }