repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
lnarolski/PLCino | moje_klasy.h | #ifndef MOJE_KLASY_H
#define MOJE_KLASY_H
class moje_klasy
{
public:
moje_klasy();
};
#endif // MOJE_KLASY_H |
lnarolski/PLCino | zmienna_w_arduino.h | #ifndef ZMIENNA_W_ARDUINO_H
#define ZMIENNA_W_ARDUINO_H
struct zmienna_w_arduino {
QString numer_pinu;
quint32 typ_zmiennej; // analogowa/dyskretna
quint32 rodzaj_pinu; // wejscie/wyjscie
};
#endif // ZMIENNA_W_ARDUINO_H
|
lnarolski/PLCino | ui_uzywane_zmienne.h | <reponame>lnarolski/PLCino<filename>ui_uzywane_zmienne.h<gh_stars>0
/********************************************************************************
** Form generated from reading UI file 'uzywane_zmienne.ui'
**
** Created by: Qt User Interface Compiler version 5.9.1
**
** WARNING! All changes made in this file will b... |
lnarolski/PLCino | plcino.h | #ifndef PLCINO_H
#define PLCINO_H
#include <QDesktopWidget>
#include <QTableWidget>
#include <QStandardItemModel>
#include <QSizePolicy>
#include <QtDebug>
#include <QMessageBox>
#include <QInputDialog>
#include <QMainWindow>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QList>
#include <QTableView>
#include... |
lnarolski/PLCino | ui_plcino.h | <reponame>lnarolski/PLCino
/********************************************************************************
** Form generated from reading UI file 'plcino.ui'
**
** Created by: Qt User Interface Compiler version 5.9.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*****************... |
lnarolski/PLCino | elementy_drabinki.h | #ifndef ELEMENTY_DRABINKI_H
#define ELEMENTY_DRABINKI_H
#include <typy_wyliczeniowe.h>
#include <QString>
#include <QImage>
#include <QDataStream>
#include <QMap>
class elementy_drabinki
{
public:
elementy rodzaj; //rodzaj na podstawie typu wyliczeniowego
quint32 rodzaj2; //"podrodzaj" elementu - na podstawie... |
lnarolski/PLCino | okno_edycji_wlasciwosci.h | #ifndef OKNO_EDYCJI_WLASCIWOSCI_H
#define OKNO_EDYCJI_WLASCIWOSCI_H
#include <QDialog>
namespace Ui {
class okno_edycji_wlasciwosci;
}
class okno_edycji_wlasciwosci : public QDialog
{
Q_OBJECT
public:
explicit okno_edycji_wlasciwosci(QWidget *parent = 0, QVariant* data = NULL);
~okno_edycji_wlasciwosci(... |
lnarolski/PLCino | ui_wybor_portu.h | /********************************************************************************
** Form generated from reading UI file 'wybor_portu.ui'
**
** Created by: Qt User Interface Compiler version 5.9.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***************************************... |
lnarolski/PLCino | uzywane_zmienne.h | #ifndef UZYWANE_ZMIENNE_H
#define UZYWANE_ZMIENNE_H
#include <QDialog>
#include "dodawanie_zmiennej.h"
#include "model_uzywane_zmienne.h"
#include "zmienna_w_arduino.h"
namespace Ui {
class uzywane_zmienne;
}
class uzywane_zmienne : public QDialog
{
Q_OBJECT
public:
explicit uzywane_zmienne(QMap<QString, zm... |
lnarolski/PLCino | model_drabinka.h | <filename>model_drabinka.h
#ifndef MODEL_DRABINKA_H
#define MODEL_DRABINKA_H
#include <QAbstractTableModel>
#include <QList>
#include <elementy_drabinki.h>
#include <QPixmap>
#include <QPainter>
class model_drabinka : public QAbstractTableModel
{
Q_OBJECT
public:
explicit model_drabinka(QObject *parent = 0, i... |
HuanDay/XTYMapView | MapView/XTYMapView.h | //
// XTYMapView.h
// XTYMapView
//
// Created by Michael on 16/8/21.
// Copyright © 2016年 Michael. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/Mapkit.h>
#import "XTYMapAnnotationItem.h"
typedef NSInteger XTYMapAnnIndex;
typedef NSInteger XTYMapOverIndex;
/***********************************... |
HuanDay/XTYMapView | MapView/CLLocation+XTYAddition.h | <reponame>HuanDay/XTYMapView
//
// CLLocation+XTYAddition.h
// XTYMapView
//
// Created by Michael on 16/8/21.
// Copyright © 2016 Michael. All rights reserved.
//
#import <CoreLocation/CoreLocation.h>
@interface CLLocation (XTYAddition)
/**
* determine whether lat value is correct
*
* @param lat -90 =< lat... |
HuanDay/XTYMapView | XTYMapDemo/XTYModel/XTYModelItem.h | <filename>XTYMapDemo/XTYModel/XTYModelItem.h
//
// XTYModelItem.h
// XTYModel
//
// Created by Michael on 16/8/19.
// Copyright © 2016 Michael. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XTYJson.h"
@interface XTYModelItem : NSObject <NSCopying>
/**
* the raw data properties, readonly. W... |
HuanDay/XTYMapView | XTYMapDemo/XTYMapDemo/ViewController.h | //
// ViewController.h
// XTYMapDemo
//
// Created by Michael on 16/8/27.
// Copyright © 2016年 Michael. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
HuanDay/XTYMapView | XTYMapDemo/XTYScrollView/XTYCycleCollectionViewCell.h | //
// XTYCycleCollectionViewCell.h
// XTYCycleScrollView
//
// Created by Mr.Sunday on 16/8/13.
// Copyright © 2016年 Sunday. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface XTYCycleCollectionViewCell : UICollectionViewCell
@property (nonatomic, strong) UIView *view;
@property (nonatomic, weak) ... |
HuanDay/XTYMapView | XTYMapDemo/XTYMapDemo/DemoAnnotationView.h | <gh_stars>1-10
//
// DemoAnnotationView.h
// XTYMapViewDemo
//
// Created by Michael on 16/8/27.
// Copyright © 2016年 Michael. All rights reserved.
//
#import <MapKit/MapKit.h>
#import "DemoAnnotationItem.h"
@interface DemoAnnotation : NSObject<MKAnnotation>
@property (nonatomic, strong) DemoAnnotationItem *info... |
HuanDay/XTYMapView | MapView/XTYCoordinateItem.h | //
// XTYCoordinateItem.h
// XTYMapView
//
// Created by Michael on 16/8/21.
// Copyright © 2016年 Michael. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
/*************** coordinate item *****************/
@interface XTYCoordinateItem : NSObject
@property (nonatom... |
HuanDay/XTYMapView | XTYMapDemo/XTYMapDemo/DemoAnnotationItem.h | <gh_stars>1-10
//
// DemoAnnotationItem.h
// XTYMapViewDemo
//
// Created by Michael on 16/8/27.
// Copyright © 2016年 Michael. All rights reserved.
//
#import "XTYModelItem.h"
#import <CoreLocation/CoreLocation.h>
@interface DemoAnnotationItem : XTYModelItem
@property (nonatomic, strong) NSString *title;
@prope... |
HuanDay/XTYMapView | XTYMapDemo/XTYModel/XTYJson.h | //
// XTYJson.h
// XTYModel
//
// Created by Michael on 16/8/19.
// Copyright © 2016 Michael. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface XTYJson : NSObject <NSCopying>
/** jsonObj is NSDictionary or NSArray*/
@property(nonatomic, readonly) id jsonObj;
/**
* init method
*/
- (instan... |
HuanDay/XTYMapView | MapView/XTYMapAnnotationItem.h | //
// XTYMapAnnotationItem.h
// XTYMapView
//
// Created by Michael on 16/8/21.
// Copyright © 2016年 Michael. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef void(^FinishLoadAnnotationViewCallback)(id annotationView);
typedef void(^DidSelectCallback)(id annotationView);
typedef void(^DidDeselect... |
HuanDay/XTYMapView | XTYMapDemo/XTYScrollView/XTYCycleScrollView.h | <reponame>HuanDay/XTYMapView
//
// XTYCycleScrollView.h
// XTYCycleScrollView
//
// Created by Mr.Sunday on 16/8/13.
// Copyright © 2016年 Sunday. All rights reserved.
//
#import <UIKit/UIKit.h>
#pragma mark - stype ENUM
typedef NS_ENUM(NSInteger,XTYCycleScrollViewPageContolAliment)
{
XTYCycleScrollViewPageCon... |
dmitry42nd/trikRuntime | trikControl/src/eventDevice.h | <reponame>dmitry42nd/trikRuntime<gh_stars>0
/* Copyright 2016 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
dmitry42nd/trikRuntime | trikControl/src/audioSynthDevices.h | <gh_stars>0
/* Copyright 2016 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
dmitry42nd/trikRuntime | trikControl/src/vectorSensorWorker.h | /* Copyright 2014 - 2015 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
dmitry42nd/trikRuntime | trikGui/batteryIndicator.h | /* Copyright 2014 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
dmitry42nd/trikRuntime | trikNetwork/src/gamepadConnection.h | <filename>trikNetwork/src/gamepadConnection.h
/* Copyright 2015 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... |
dmitry42nd/trikRuntime | trikControl/src/exceptions/incorrectStateChangeException.h | <reponame>dmitry42nd/trikRuntime
/* Copyright 2015 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
dmitry42nd/trikRuntime | trikNetwork/include/trikNetwork/gamepadFactory.h | /* Copyright 2015 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
dmitry42nd/trikRuntime | trikGui/controller.h | /* Copyright 2013 - 2015 <NAME> and CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
dmitry42nd/trikRuntime | trikKernel/include/trikKernel/timeVal.h | /* Copyright 2015 - 2016 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
dmitry42nd/trikRuntime | trikNetwork/src/gamepad.h | <gh_stars>0
/* Copyright 2013 - 2015 <NAME>, <NAME> and CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
dmitry42nd/trikRuntime | trikGui/motorLever.h | /* Copyright 2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
dmitry42nd/trikRuntime | trikNetwork/src/gamepadServer.h | <gh_stars>0
/* Copyright 2015 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
dmitry42nd/trikRuntime | trikCommunicator/include/trikCommunicator/trikCommunicator.h | /* Copyright 2013 - 2015 <NAME>, CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
dmitry42nd/trikRuntime | trikControl/src/shapes/rectangle.h | <reponame>dmitry42nd/trikRuntime<gh_stars>0
/* Copyright 2015 CyberTech Labs ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
ben-mkiv/unreal-sqlite3 | Source/CISQLite3/Public/SQLiteDatabase.h | <filename>Source/CISQLite3/Public/SQLiteDatabase.h<gh_stars>0
#pragma once
#include "sqlite3.h"
#include "SQLiteBlueprintNodes.h"
#include "SQLiteDatabaseStructs.h"
#include "SQLiteDatabase.generated.h"
USTRUCT(BlueprintType)
struct CISQLITE3_API FSQLiteDatabaseReference
{
GENERATED_USTRUCT_BODY()
/** T... |
ben-mkiv/unreal-sqlite3 | Source/CISQLite3/Public/SQLiteBlueprintNodes.h |
#pragma once
#include "SQLiteBlueprintNodes.generated.h"
USTRUCT(BlueprintType)
struct CISQLITE3_API FSQLiteQueryLogicExpectedNode
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "SQLite Database Query")
FString Query;
FSQLiteQueryLogicExpectedNode(){}
FSQLiteQu... |
plushmonkey/Terracotta | terracotta/block/BlockFace.h | <filename>terracotta/block/BlockFace.h
#ifndef TERRACOTTA_BLOCK_BLOCKFACE_H_
#define TERRACOTTA_BLOCK_BLOCKFACE_H_
#include <string>
namespace terra {
namespace block {
enum class BlockFace {
North,
East,
South,
West,
Up,
Down,
None
};
const std::string& to_string(BlockFace face);
Block... |
plushmonkey/Terracotta | terracotta/math/Plane.h | #ifndef TERRACOTTA_MATH_PLANE_H_
#define TERRACOTTA_MATH_PLANE_H_
#include <glm/glm.hpp>
#include <mclib/common/Vector.h>
namespace terra {
namespace math {
class Plane {
public:
Plane() { }
Plane(glm::vec3 normal, float distance);
// Construct plane from three noncollinear points
Plane(glm::vec3 p1,... |
plushmonkey/Terracotta | terracotta/block/BlockElement.h | <reponame>plushmonkey/Terracotta
#pragma once
#ifndef TERRACOTTA_BLOCK_BLOCKELEMENT_H_
#define TERRACOTTA_BLOCK_BLOCKELEMENT_H_
#include "BlockFace.h"
#include <vector>
#include <glm/glm.hpp>
#include "../assets/TextureArray.h"
namespace terra {
namespace block {
struct RenderableFace {
assets::TextureHandle te... |
plushmonkey/Terracotta | terracotta/render/ChunkMesh.h | <reponame>plushmonkey/Terracotta
#ifndef TERRACOTTA_RENDER_CHUNKMESH_H_
#define TERRACOTTA_RENDER_CHUNKMESH_H_
#include "Shader.h"
#include <cstddef>
namespace terra {
namespace render {
class ChunkMesh {
public:
ChunkMesh(unsigned int vao, unsigned int vbo, GLsizei vertex_count);
ChunkMesh(const ChunkMesh& ... |
plushmonkey/Terracotta | terracotta/Transform.h | <reponame>plushmonkey/Terracotta
#pragma once
#ifndef TERRACOTTA_TRANSFORM_H_
#define TERRACOTTA_TRANSFORM_H_
#include <mclib/common/Vector.h>
#include <mclib/common/AABB.h>
namespace terra {
struct Transform {
mc::Vector3d position;
mc::Vector3d velocity;
mc::Vector3d input_velocity;
mc::Vector3d a... |
plushmonkey/Terracotta | terracotta/block/BlockVariant.h | <filename>terracotta/block/BlockVariant.h
#pragma once
#ifndef TERRACOTTA_BLOCK_BLOCKVARIANT_H_
#define TERRACOTTA_BLOCK_BLOCKVARIANT_H_
#include "BlockModel.h"
#include <mclib/block/Block.h>
#include <glm/glm.hpp>
namespace terra {
namespace block {
class BlockVariant {
public:
BlockVariant(BlockModel* model,... |
plushmonkey/Terracotta | terracotta/PriorityQueue.h | #ifndef TERRACOTTA_PRIORITY_QUEUE_H_
#define TERRACOTTA_PRIORITY_QUEUE_H_
#include <algorithm>
#include <vector>
namespace terra {
template <typename T, typename Comparator, typename Container = std::vector<T>>
class PriorityQueue {
private:
Container m_Container;
Comparator m_Comp;
public:
PriorityQueu... |
plushmonkey/Terracotta | terracotta/assets/AssetCache.h | #ifndef TERRACOTTA_ASSETS_ASSETCACHE_H_
#define TERRACOTTA_ASSETS_ASSETCACHE_H_
#include "TextureArray.h"
#include <unordered_map>
#include <string>
#include <memory>
#include "../block/BlockState.h"
#include "../block/BlockModel.h"
#include "../block/BlockVariant.h"
#include <mclib/block/Block.h>
namespace terra {... |
plushmonkey/Terracotta | terracotta/assets/TextureArray.h | #ifndef TERRACOTTA_ASSETS_TEXTUREARRAY_H_
#define TERRACOTTA_ASSETS_TEXTUREARRAY_H_
#include <cstddef>
#include <vector>
#include <string>
#include <unordered_map>
#include <cstdint>
namespace terra {
namespace assets {
using TextureHandle = uint32_t;
class TextureArray {
public:
TextureArray();
TextureHan... |
plushmonkey/Terracotta | terracotta/assets/AssetLoader.h | #pragma once
#ifndef TERRACOTTA_ASSETS_ASSETLOADER_H_
#define TERRACOTTA_ASSETS_ASSETLOADER_H_
#include <memory>
#include <string>
#include <unordered_map>
#include <glm/glm.hpp>
#include "TextureArray.h"
#include "../block/BlockFace.h"
#include "../block/BlockElement.h"
namespace terra {
namespace block {
class ... |
plushmonkey/Terracotta | terracotta/ChatWindow.h | #ifndef TERRACOTTA_CHAT_WINDOW_H_
#define TERRACOTTA_CHAT_WINDOW_H_
#include <mclib/protocol/packets/PacketDispatcher.h>
#include <mclib/protocol/packets/PacketHandler.h>
#include <string>
#include <deque>
namespace terra {
class ChatWindow : public mc::protocol::packets::PacketHandler {
public:
ChatWindow(mc::... |
plushmonkey/Terracotta | terracotta/block/BlockModel.h | #ifndef TERRACOTTA_BLOCK_BLOCKMODEL_H_
#define TERRACOTTA_BLOCK_BLOCKMODEL_H_
#include <string>
#include <memory>
#include <unordered_map>
#include <mclib/common/JsonFwd.h>
#include "BlockFace.h"
#include "BlockElement.h"
namespace terra {
namespace block {
class BlockModel {
public:
std::vector<BlockElement>& ... |
plushmonkey/Terracotta | terracotta/math/volumes/Frustum.h | <reponame>plushmonkey/Terracotta
#ifndef TERRACOTTA_MATH_VOLUMES_FRUSTUM_H_
#define TERRACOTTA_MATH_VOLUMES_FRUSTUM_H_
#include <glm/glm.hpp>
#include <mclib/common/AABB.h>
#include "../Plane.h"
namespace terra {
namespace math {
namespace volumes {
class Frustum {
public:
Frustum(glm::vec3 position, glm::vec3 f... |
plushmonkey/Terracotta | terracotta/render/Shader.h | <gh_stars>10-100
#ifndef TERRACOTTA_RENDER_SHADER_H_
#define TERRACOTTA_RENDER_SHADER_H_
#include <GL/glew.h>
namespace terra {
namespace render {
class Shader {
public:
Shader();
Shader(const Shader& other) = delete;
Shader(Shader&& other) = delete;
Shader& operator=(const Shader& other) = delete;
... |
plushmonkey/Terracotta | terracotta/block/BlockState.h | <reponame>plushmonkey/Terracotta<gh_stars>10-100
#ifndef TERRACOTTA_BLOCK_BLOCKSTATE_H_
#define TERRACOTTA_BLOCK_BLOCKSTATE_H_
#include <mclib/common/Types.h>
#include <mclib/common/JsonFwd.h>
#include <memory>
#include <string>
#include <unordered_map>
namespace terra {
namespace block {
class BlockState {
public:
... |
plushmonkey/Terracotta | terracotta/render/ChunkMeshGenerator.h | #ifndef TERRACOTTA_RENDER_CHUNKMESHGENERATOR_H_
#define TERRACOTTA_RENDER_CHUNKMESHGENERATOR_H_
#include "ChunkMesh.h"
#include <unordered_map>
#include <memory>
#include <vector>
#include <utility>
#include <mclib/common/Vector.h>
#include <glm/glm.hpp>
#include "../World.h"
#include "../PriorityQueue.h"
#include "..... |
plushmonkey/Terracotta | terracotta/Collision.h | #pragma once
#ifndef TERRACOTTA_COLLISION_H_
#define TERRACOTTA_COLLISION_H_
#include "Transform.h"
#include "World.h"
namespace terra {
class Collision {
private:
mc::Vector3d m_Position;
mc::Vector3d m_Normal;
public:
Collision() noexcept { }
Collision(mc::Vector3d position, mc::Vector3d normal) ... |
plushmonkey/Terracotta | terracotta/math/TypeUtil.h | <filename>terracotta/math/TypeUtil.h<gh_stars>10-100
#ifndef TERRACOTTA_MATH_TYPEUTIL_H_
#define TERRACOTTA_MATH_TYPEUTIL_H_
#include <glm/glm.hpp>
#include <mclib/common/Vector.h>
namespace terra {
namespace math {
inline glm::vec3 VecToGLM(mc::Vector3d v) { return glm::vec3(v.x, v.y, v.z); }
inline glm::vec3 VecTo... |
plushmonkey/Terracotta | terracotta/Game.h | #ifndef TERRACOTTA_GAME_H_
#define TERRACOTTA_GAME_H_
#include <mclib/core/Client.h>
#include "Camera.h"
#include "GameWindow.h"
#include "Transform.h"
#include "Collision.h"
#include <mclib/protocol/packets/PacketHandler.h>
#include <mclib/protocol/packets/Packet.h>
#include <memory>
namespace terra {
class Worl... |
plushmonkey/Terracotta | terracotta/Chunk.h | #ifndef TERRACOTTA_CHUNK_H_
#define TERRACOTTA_CHUNK_H_
#include <mclib/block/Block.h>
#include <mclib/block/BlockEntity.h>
#include <mclib/common/Types.h>
#include <mclib/nbt/NBT.h>
#include <mclib/world/Chunk.h>
#include <array>
#include <map>
#include <memory>
namespace terra {
struct ChunkColumnMetadata {
s... |
plushmonkey/Terracotta | terracotta/assets/zip/ZipArchive.h | <filename>terracotta/assets/zip/ZipArchive.h
#ifndef TERRACOTTA_UTIL_ZIPARCHIVE_H_
#define TERRACOTTA_UTIL_ZIPARCHIVE_H_
#include <string>
#include <vector>
#include "miniz.h"
namespace terra {
namespace assets {
class ZipArchive {
public:
ZipArchive();
bool Open(const char *archivePath);
void Close();... |
plushmonkey/Terracotta | terracotta/World.h | <reponame>plushmonkey/Terracotta
#ifndef TERRACOTTA_WORLD_H_
#define TERRACOTTA_WORLD_H_
#include <mclib/protocol/packets/PacketHandler.h>
#include <mclib/protocol/packets/PacketDispatcher.h>
#include <mclib/util/ObserverSubject.h>
#include "Chunk.h"
#include <unordered_map>
namespace terra {
using ChunkCoord = st... |
plushmonkey/Terracotta | terracotta/GameWindow.h | <reponame>plushmonkey/Terracotta
#ifndef TERRACOTTA_GAME_WINDOW_H_
#define TERRACOTTA_GAME_WINDOW_H_
#include <GLFW/glfw3.h>
#include <vector>
#include <functional>
namespace terra {
using MouseSetCallback = std::function<void(double, double)>;
using MouseChangeCallback = std::function<void(double, double)>;
using M... |
plushmonkey/Terracotta | terracotta/Camera.h | #ifndef TERRACOTTA_CAMERA_H_
#define TERRACOTTA_CAMERA_H_
#include <GL/glew.h>
#include <glm/glm.hpp>
#include "math/volumes/Frustum.h"
#undef near
#undef far
namespace terra {
enum class CameraMovement {
Forward,
Backward,
Left,
Right,
Raise,
Lower
};
class Camera {
public:
Camera(glm:... |
AITT-VN/xcontroller_arduino_lib | src/Mini_Fan.h | #ifndef MINIFAN_H
#define MINIFAN_H
#include <Arduino.h>
class MiniFan {
private:
uint8_t _pin;
public:
MiniFan(uint8_t pin);
void on();
void off();
};
#endif |
AITT-VN/xcontroller_arduino_lib | src/Tone32.h | <gh_stars>0
#ifndef _TONE32_h
#define _TONE32_h
#define TONE_CHANNEL 15
#include "Arduino.h"
#include "pitches.h"
void tone32(uint8_t pin, unsigned int frequency, unsigned long duration = 0, uint8_t channel = TONE_CHANNEL);
void noTone32(uint8_t pin, uint8_t channel = TONE_CHANNEL);
#endif |
AITT-VN/xcontroller_arduino_lib | src/Servos.h | <reponame>AITT-VN/xcontroller_arduino_lib
#ifndef SERVOS_H
#define SERVOS_H
#include "Adafruit_PWMServoDriver.h"
class Servos{
private:
Adafruit_PWMServoDriver pca9685 = Adafruit_PWMServoDriver();
int pos[8] = {0 ,0, 0, 0, 0, 0, 0, 0};
int _angleToPulse(int ang);
public:
Servos();
... |
AITT-VN/xcontroller_arduino_lib | src/mpu6050.h | <gh_stars>0
#ifndef _MPU6050_H
#define _MPU6050_H
#include "Arduino.h"
#include <Wire.h>
#define ACCEL_XOUT_H 0x3B
#define ACCEL_XOUT_L 0x3C
#define ACCEL_YOUT_H 0x3D
#define ACCEL_YOUT_L 0x3E
#define ACCEL_ZOUT_H 0x3F
#define ACCEL_ZOUT_L 0x40
#define TEMP_OUT_H 0x41
... |
AITT-VN/xcontroller_arduino_lib | src/Ultrasonic.h | <reponame>AITT-VN/xcontroller_arduino_lib
/*
HCSR04 - Library for arduino, for HC-SR04 ultrasonic distance sensor.
Created by <NAME>, June 11, 2016.
*/
#ifndef ULTRASONIC_H
#define ULTRASONIC_H
#include "Arduino.h"
class Ultrasonic{
public:
/**
* @param triggerPin Digital pin that is used for controll... |
AITT-VN/xcontroller_arduino_lib | src/LineArray.h | <reponame>AITT-VN/xcontroller_arduino_lib
/*
LineArray.h
*/
#ifndef LINEARRAY_h
#define LINEARRAY_h
#include "Arduino.h"
#include "PCF8574.h"
#include "Wire.h"
#define LINE_1 0
#define LINE_2 1
#define LINE_3 2
#define LINE_4 3
class LineArray
{
public:
LineArray(int sda, int scl);
int* read();
int... |
AITT-VN/xcontroller_arduino_lib | src/LCD_1602.h | /*
LCD_I2C - Arduino library to control a 16x2 LCD via an I2C adapter based on PCF8574
Copyright(C) 2020 Blackhack <<EMAIL>>
This program is free software : you can redistribute it and /or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, eit... |
AITT-VN/xcontroller_arduino_lib | src/Adafruit_NeoPixel.h | <gh_stars>0
#ifndef Adafruit_NEOPIXEL_H
#define Adafruit_NEOPIXEL_H
#ifdef ARDUINO
#if (ARDUINO >= 100)
#include <Arduino.h>
#else
#include <WProgram.h>
#include <pins_arduino.h>
#endif
#endif
#ifdef TARGET_LPC1768
#include <Arduino.h>
#endif
// The order of primary colors in the NeoPixel data stream c... |
AITT-VN/xcontroller_arduino_lib | src/xcontroller.h | #include "Arduino.h"
#include <Adafruit_NeoPixel.h>
#include "Tone32.h"
//#include "Motors.h"
//#include "Servos.h"
//#include "mpu6050.h"
//#include "esp32BLEUtilities.h"
#ifndef XCONTROLLER_H
#define XCONTROLLER_H
#define NUMPIXELS_ONBOARD 2
//#include "Wire.h"
//#include "esp32BLEUtilities.h"
//#include "pca968... |
AITT-VN/xcontroller_arduino_lib | src/Motors.h | #ifndef MOTORS_H
#define MOTORS_H
#include "Adafruit_PWMServoDriver.h"
#define MAX_PWM 3000
#define M1_PWM 10
#define M1_IN2 11
#define M1_IN1 12
#define M2_IN1 13
#define M2_IN2 14
#define M2_PWM 15
class Motors{
private:
Adafruit_PWMServoDriver pca9685 = Adafruit_PWMServoDriver();
int D... |
AITT-VN/xcontroller_arduino_lib | src/IR/private/IRTimer.cpp.h | /**
* @file IRTimer.cpp.h
*
* @brief All timer specific definitions are contained in this file.
*
* This file is part of Arduino-IRremote https://github.com/Arduino-IRremote/Arduino-IRremote.
*
*************************************************************************************
* MIT License
*
* Copyright (... |
Bungarch/meta | include/meta/classify/classifier/one_vs_one.h | /**
* @file one_vs_one.h
* @author <NAME>
*
* All files in META are released under the MIT license. For more details,
* consult the file LICENSE in the root of the project.
*/
#ifndef META_CLASSIFY_ONE_VS_ONE_H_
#define META_CLASSIFY_ONE_VS_ONE_H_
#include "meta/classify/classifier/binary_classifier.h"
#include... |
Bungarch/meta | include/meta/io/gzstream.h | /**
* @file gzstream.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_UTIL_GZSTREAM_H_
#define META_UTIL_GZSTREAM_H_
#include <zlib.h>
#include <streambuf>... |
Bungarch/meta | include/meta/topics/lda_cvb.h | <reponame>Bungarch/meta
/**
* @file lda_cvb.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_TOPICS_LDA_CVB_H_
#define META_TOPICS_LDA_CVB_H_
#include "meta... |
Bungarch/meta | include/meta/topics/lda_gibbs.h | <filename>include/meta/topics/lda_gibbs.h
/**
* @file topics/lda_gibbs.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_LDA_GIBBS_H_
#define META_LDA_GIBBS_H... |
Bungarch/meta | include/meta/analyzers/analyzer.h | <gh_stars>0
/**
* @file analyzer.h
* @author <NAME>
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_ANALYZER_H_
#define META_ANALYZER_H_
#include <memory>
#... |
Bungarch/meta | include/meta/classify/classifier/sgd.h | <filename>include/meta/classify/classifier/sgd.h
/**
* @file sgd.h
* @author <NAME>
*
* All files in META are released under the MIT license. For more details,
* consult the file LICENSE in the root of the project.
*/
#ifndef META_CLASSIFY_SGD_H_
#define META_CLASSIFY_SGD_H_
#include "meta/classify/binary_class... |
Bungarch/meta | include/meta/util/sparse_vector.h | <gh_stars>0
/**
* @file sparse_vector.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_UTIL_SPARSE_VECTOR_H_
#define META_UTIL_SPARSE_VECTOR_H_
#include <cs... |
Bungarch/meta | include/meta/io/filedes.h | /**
* @file filedes.h
* @author <NAME>
*
* All files in MeTA are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_IO_FILEDES_H_
#define META_IO_FILEDES_H_
#include <cstdint>
#include <fcntl.h>
#include... |
Bungarch/meta | include/meta/util/disk_vector.h | <gh_stars>0
/**
* @file disk_vector.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_DISK_VECTOR_H_
#define META_DISK_VECTOR_H_
#include <fcntl.h>
#include ... |
Bungarch/meta | include/meta/util/clonable.h | <reponame>Bungarch/meta
/**
* @file clonable.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_UTIL_CLONABLE_H_
#define META_UTIL_CLONABLE_H_
#include <memor... |
Bungarch/meta | include/meta/topics/bl_term_scorer.h | <filename>include/meta/topics/bl_term_scorer.h<gh_stars>0
/**
* @file topic_model.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_TOPICS_DEFAULT_TERM_SCORER... |
Bungarch/meta | include/meta/topics/lda_cvb_inferencer.h | <gh_stars>0
/**
* @file topics/lda_cvb_inferencer.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_LDA_CVB_INFERENCER_H_
#define META_LDA_CVB_INFERENCER_H_
... |
Bungarch/meta | include/meta/io/binary.h | /**
* @file binary.h
* @author <NAME>
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_IO_BINARY_H_
#define META_IO_BINARY_H_
#include <array>
#include <cmat... |
Bungarch/meta | include/meta/learn/transform.h | /**
* @file dataset.h
* @author <NAME>
*
* All files in META are released under the MIT license. For more details,
* consult the file LICENSE in the root of the project.
*/
#ifndef META_LEARN_TRANSFORM_H_
#define META_LEARN_TRANSFORM_H_
#include "meta/index/ranker/ranker.h"
#include "meta/index/score_data.h"
#i... |
Bungarch/meta | include/meta/io/xzstream.h | /**
* @file xzstream.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_UTIL_XZSTREAM_H_
#define META_UTIL_XZSTREAM_H_
#include <lzma.h>
#include <cstdio>
#i... |
Bungarch/meta | include/meta/regression/models/sgd.h | /**
* @file sgd.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_REGRESSION_SGD_H_
#define META_REGRESSION_SGD_H_
#include "meta/learn/sgd.h"
#include "meta... |
Bungarch/meta | include/meta/topics/inferencer.h | /**
* @file topics/inferencer.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_TOPICS_INFERENCER_H_
#define META_TOPICS_INFERENCER_H_
#include "meta/config.... |
Bungarch/meta | include/meta/io/libsvm_parser.h | <filename>include/meta/io/libsvm_parser.h
/**
* @file libsvm_parser.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_LIBSVM_PARSER_H_
#define META_LIBSVM_PAR... |
Bungarch/meta | include/meta/classify/binary_dataset_view.h | <filename>include/meta/classify/binary_dataset_view.h
/**
* @file binary_dataset_view.h
* @author <NAME>
*
* All files in META are released under the MIT license. For more details,
* consult the file LICENSE in the root of the project.
*/
#ifndef META_CLASSIFY_BINARY_DATASET_VIEW_H_
#define META_CLASSIFY_BINARY_... |
Bungarch/meta | include/meta/util/traits.h | /**
* @file traits.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_UTIL_TRAITS_H_
#define META_UTIL_TRAITS_H_
#include <type_traits>
namespace meta
{
name... |
Bungarch/meta | include/meta/learn/sgd.h | /**
* @file sgd.h
* @author <NAME>
*
* All files in META are released under the MIT license. For more details,
* consult the file LICENSE in the root of the project.
*/
#ifndef META_LEARN_SGD_H_
#define META_LEARN_SGD_H_
#include <vector>
#include "meta/config.h"
#include "meta/learn/dataset.h"
#include "meta/... |
Bungarch/meta | include/meta/util/identifiers.h | /**
* @file identifiers.h
* @author <NAME>
* Defines CRTP base classes that allow for the creation of type-safe
* "typedef" classes that serve as identifiers in the project.
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa ... |
Bungarch/meta | include/meta/io/zstream.h | <gh_stars>0
/**
* @file zstream.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_IO_ZSTREAM_H_
#define META_IO_ZSTREAM_H_
#include <istream>
#include <ostre... |
Bungarch/meta | tests/farm_hash_test.h | /**
* @file farm_hash_test.h
* @author <NAME>
*
* This file contains the test vectors for our farmhashna implementation.
* These are ported directly from the MIT Licensed test code on the
* google/farmhash repository.
*
* @see https://github.com/google/farmhash/blob/master/src/farmhash.cc#L4491-L5728
*/
#incl... |
Bungarch/meta | include/meta/parser/trees/visitors/visitor.h | /**
* @file tree_visitor.h
* @author <NAME>
*
* All files in META are released under the MIT license. For more details,
* consult the file LICENSE in the root of the project.
*/
#ifndef META_PARSE_TREE_VISITOR_H_
#define META_PARSE_TREE_VISITOR_H_
namespace meta
{
namespace parser
{
class leaf_node;
class inte... |
Bungarch/meta | include/meta/util/iterator.h | <reponame>Bungarch/meta
/**
* @file iterator.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_UTIL_ITERATOR_H_
#define META_UTIL_ITERATOR_H_
#include <itera... |
Bungarch/meta | include/meta/topics/lda_gibbs_inferencer.h | <gh_stars>0
/**
* @file topics/lda_gibbs_inferencer.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_LDA_GIBBS_INFERENCER_H_
#define META_LDA_GIBBS_INFERENCE... |
Bungarch/meta | include/meta/succinct/broadword.h | /**
* @file broadword.h
* @author <NAME>
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_SUCCINCT_BROADWORD_H_
#define META_SUCCINCT_BROADWORD_H_
#include <cstdint>
#if _MSC_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.